Have the vif scripts expect the offline event, not the remove event. With
authoremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 15 Nov 2005 14:56:47 +0000 (15:56 +0100)
committeremellor@leeni.uk.xensource.com <emellor@leeni.uk.xensource.com>
Tue, 15 Nov 2005 14:56:47 +0000 (15:56 +0100)
commit8d43373af6618b21bd26d148423b14cfac6ca33d
treef653aac4ab7b50ee60dc6d0ebb7fdcf4de4139da
parent946f9a1879dba4845c40db69f71779a027e1a876
Have the vif scripts expect the offline event, not the remove event.  With
the remove event, the script environment variable has disappeared, so we must
hook on the offline event instead.  This fix was put into xen-backend.rules,
but not the vif scripts, so they were out of sync, and the interfaces were not
being properly closed down.

Signed-off-by: Ewan Mellor <ewan@xensource.com>
tools/examples/vif-bridge
tools/examples/vif-common.sh
tools/examples/vif-nat
tools/examples/vif-route